<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<div class="container">
<div id="info">
	<h2><img src="./image/title_img17.jpg"/></h2>
</div>

		<div class="table-responsive" style="background-color: rgba(255,255,255,0.5); width: 70%; margin: auto;">
				<table class="table table-striped">
					<tbody>
						<tr>
							<td width="300px" align="center">
								<img src="${pageContext.request.contextPath}/upload/${profil.image}" width="300px" height="250px">
							</td>
							<td>${profil.content}</td>
						</tr>
						<tr>
							<td colspan="2">
							
								<c:if test="${checkP_id == 0 || checkP_id == 1}">
									<form action="talkStart.do" method="post" name="someTalkGo">
										<input type="hidden" name="some_id" value="${profil.id}">
										<font size="5">${profil.name} 회원님은 현재 파트너가 없습니다.</font>
										<c:if test="${checkP_id == 0}">
											<input type="submit" value="1:1 대화 도전!!">
										</c:if>
									</form>
								</c:if>
								<c:if test="${checkP_id == 2}">
									<font size="5">${profil.name} 회원님은 현재 다른분과 대화중이십니다.</font>
								</c:if>
								<c:if test="${checkP_id == 3}">
									<font size="5">${profil.name} 회원님은 현재 당신과 대화중이십니다.</font>
								</c:if>
							
							</td>
						</tr>
						<tr>
							<td align="right">나이 : ${profil.age} 세</td>
							<td align="right">키 : ${profil.height} cm</td>
						</tr>
						<tr>
							<td align="right">사는곳 : ${profil.home}</td>
							<td align="right">체형 : ${profil.bodyty}</td>
						</tr>
						<tr>
							<td align="right">성격 : ${profil.charac}</td>
							<td align="right">직업 : ${profil.job}</td>
						</tr>
						<tr>
							<td align="right">스타일 : ${profil.fashion}</td>
							<td align="right">혈액형 : ${profil.bloodty}</td>
						</tr>
						<tr>
							<td align="right">흡연 : ${profil.smoke}</td>
							
							<td align="right">
								<c:if test="${check == 0}">
									<a href="markMember.do?purpose=create&mark_id=${profil.id}">관심 리스트로 찜하기</a>
								</c:if>
								<c:if test="${check != 0}">
									<a href="markMember.do?purpose=delete&mark_id=${profil.id}">관심 리스트에서 삭제하기</a>
								</c:if>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
	</div>
		
		
